home *** CD-ROM | disk | FTP | other *** search
/ BMUG Revelations / BMUG Revelations.toast / Programming / Programming Languages / Harvest C / MPW Int & Lib / Interfaces / SegLoad.h < prev    next >
Text File  |  1991-04-17  |  1KB  |  56 lines

  1. /************************************************************
  2.  
  3. Created: Sunday, January 6, 1991 at 10:01 PM
  4.     SegLoad.h
  5.     C Interface to the Macintosh Libraries
  6.  
  7.  
  8.         Copyright Apple Computer, Inc.    1985-1990
  9.         All rights reserved
  10.  
  11. ************************************************************/
  12.  
  13.  
  14. #ifndef __SEGLOAD__
  15. #define __SEGLOAD__
  16.  
  17. #ifndef __TYPES__
  18. #include <Types.h>
  19. #endif
  20.  
  21.  
  22. enum {
  23.  
  24.     appOpen = 0,    /*Open the Document (s)*/
  25.     appPrint = 1    /*Print the Document (s)*/
  26. };
  27.  
  28. struct AppFile {
  29.     short vRefNum;
  30.     OSType fType;
  31.     short versNum;  /*versNum in high byte*/
  32.     Str255 fName;
  33. };
  34.  
  35. typedef struct AppFile AppFile;
  36.  
  37.  
  38. #ifdef __cplusplus
  39. extern "C" {
  40. #endif
  41. pascal void UnloadSeg(void * routineAddr)
  42.     = 0xA9F1; 
  43. pascal void ExitToShell(void)
  44.     = 0xA9F4; 
  45. pascal void GetAppParms(Str255 apName,short *apRefNum,Handle *apParam)
  46.     = 0xA9F5; 
  47. pascal void CountAppFiles(short *message,short *count); 
  48. pascal void GetAppFiles(short index,AppFile *theFile); 
  49. pascal void ClrAppFiles(short index); 
  50. void getappparms(char *apName,short *apRefNum,Handle *apParam); 
  51. #ifdef __cplusplus
  52. }
  53. #endif
  54.  
  55. #endif
  56.